<%--
Created by IntelliJ IDEA.
User: yhy
Date: 17-3-3
Time: 上午9:28
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <!-- 公共头文件 -->
    <%@include file="../../../common.jspf" %>

    <title>登陆-管理系统</title>
    <link href="${views}/login/login.css" rel="stylesheet" type="text/css"/>
</head>
<body class="login">

<!-- logo -->
<div class="logo">
    <h1 style="font-weight:600;color: #fff; ">管理系统</h1>
</div>

<!-- login form -->
<div class="container">
    <div class="row">

        <div class="col-xs-12 col-sm-4 col-xs-offset-0 col-sm-offset-4">
            <!-- input 区添加背景图片 -->
            <div class="content">
                <form id="login-from"  role="form" method="post" action="login.shtml">

                    <div class="text-center">
                        <c:choose>
                            <c:when test="${not empty msg }">
                                <span style="color:red">${msg}</span>
                            </c:when>
                            <c:otherwise>
                                <h4>请登陆<h4>
                            </c:otherwise>
                        </c:choose>
                    </div>


                    <div class="col-sm-12 col-md-10 col-sm-offset-0 col-md-offset-1">

                        <div class="input-group username">
                            <span class="icon glyphicon glyphicon-user input-group-addon"></span>
                            <input type="text" class="form-control" placeholder="用户名/邮箱" name="username"/>
                        </div>

                        <div class="input-group password">
                            <span class="icon glyphicon glyphicon-lock input-group-addon"></span>
                            <input type="password" class="form-control requested" placeholder="密码" name="password"/>
                        </div>

                        <!--记住我，和登陆　按钮-->
                            <div class="submit checkbox pull-left">
                                <label>
                                    <input type="checkbox"> 记住我
                                </label>
                            </div>

                            <div class="submit  pull-right">
                                <label>
                                    <input type="submit" class="btn btn-success" value="登 陆"/>
                                </label>
                            </div>

                        <!-- 版权说明 -->
                        <div class="copyright col-xs-12 col-sm-12 col-md-12 text-center">
                            2017-03-11 20:20 &copy; yhy make this Template.
                        </div>

                    </div>
                </form>

            </div>
            <!-- 基本布局 -->
        </div>


    <!-- row -->
    </div>
    <!-- container -->
</div>

<!-- 增加背景图片插件 -->
<script type="text/javascript" src="${ctx}/static/jquery/jquery.backstretch.min.js"></script>

<!-- 增加校验插件 -->
<script type="text/javascript" src="${ctx}/static/jquery/jquery.validate.min.js"></script>
<script type="text/javascript" src="${ctx}/static/jquery/messages_zh.min.js" ></script>
<!-- 登录页处理 -->
<script type="text/javascript" src="${views}/login/login.js"></script>

</body>
</html>
